package net.yunzhanyi.generic.domain.model;

import java.io.Serializable;

public class PoetryDetail implements Serializable {
    /**
     * 详情id
     */
    private Long detailId;

    /**
     * 详情类型
     */
    private String detailType;

    /**
     * 诗词id
     */
    private Long poetryId;

    /**
     * 详情内容
     */
    private String detailContent;

    private static final long serialVersionUID = 1L;

    public Long getDetailId() {
        return detailId;
    }

    public void setDetailId(Long detailId) {
        this.detailId = detailId;
    }

    public String getDetailType() {
        return detailType;
    }

    public void setDetailType(String detailType) {
        this.detailType = detailType;
    }

    public Long getPoetryId() {
        return poetryId;
    }

    public void setPoetryId(Long poetryId) {
        this.poetryId = poetryId;
    }

    public String getDetailContent() {
        return detailContent;
    }

    public void setDetailContent(String detailContent) {
        this.detailContent = detailContent;
    }


    @Override
    public String toString() {
        final StringBuilder sb = new StringBuilder("PoetryDetail{");
        sb.append("detailId=").append(detailId);
        sb.append(", detailType='").append(detailType).append('\'');
        sb.append(", poetryId=").append(poetryId);
        sb.append(", detailContent='").append(detailContent).append('\'');
        sb.append('}');
        return sb.toString();
    }
}